<?php
$section = 'event';

$titre = _LB_EVENT_MANAGEMENT;
$smarty->assign("titre", $titre);

Session::setBackLink($section);

$event = new Event();
$query = "SELECT * FROM EVENT ORDER BY ID DESC";

$args = array();
$pager = new  DBPager($event,$args, false ,PAGING_DEFAULT_ITEM_PER_PAGE,$query);
$event->query($query);

$cfer = new Cfer(array(
	_LB_ACCUEIL => Utils::getHomeLink(),
	_LB_EVENT_MANAGEMENT => Utils::getCurrentLink()));

$smarty->assign('cfer', $cfer);
$smarty->assign('event', $event);
$smarty->assign('pager', $pager);
$smarty->display('event_list.html');